package com.tjresearch.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tjresearch.pojo.Item;
import com.tjresearch.service.RedisService;

@RestController
public class RedisController {
	@Autowired
	private RedisService redisService;
	@RequestMapping("/redisTest")
	public  List<Item> redisTest(){
		return redisService.queryItemsByThemeId(100);
		
	}

}
